package com.wangijun.yuan.admin.blog.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 标签表 保存参数
 * </p>
 *
 * @author Wlf
 * @since 2024-08-26
 */
@Getter
@Setter
@Schema(name = "TagInfo", description = "标签表")
public class TagInfoUpdateParam {
    @NotNull(message = "主键不可为空")
    @Schema(description = "主键")
    private Long id;

    @Schema(description = "标签名称")
    private String name;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;

    @Schema(description = "创建人")
    private Long createBy;

    @Schema(description = "修改人")
    private Long updateBy;

    @Schema(description = "标签热度")
    private Integer readNum;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "此标签下最新文章Id")
    private Long newArtId;

    @Schema(description = "最新标签文章标题")
    private String newArtTitle;

    @Schema(description = "关注数")
    private Integer followNum;
}
